package com.property.manage.dao.village;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.property.manage.model.system.User;
import com.property.manage.model.system.UserDetail;
import com.property.manage.model.village.DownVo;
import com.property.manage.model.village.Village;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 描述
 *
 * @author lwb
 * @since 2020/7/15
 */
@Repository
public interface VillageMapper extends BaseMapper<Village> {

    IPage<Village> getVillage(@Param("page") Page<UserDetail> page, @Param("name") String name);
    List<DownVo> down();
    List<Integer> getVillageId();
}
